using System.Text.Json.Serialization;

namespace Eamon.MeituanDotnetSDK.model.ddzh.ugc.ugcQuerystar
{
    /// <summary>
    /// 单项分,部分类目为空
    /// </summary>
    public class SubScore
    {
        /// <summary>
        /// 标题
        /// </summary>
        [JsonPropertyName("title")]
        public string Title { get; set; }

        /// <summary>
        /// 分数
        /// </summary>
        [JsonPropertyName("score")]
        public double? Score { get; set; }

        public override string ToString()
        {
            return $"SubScore{{Title={Title}, Score={Score}}}";
        }
    }
}
